.pragma library

var gDefaultToken = "pf1UNqZNXhForn9TwiRz";
var gClientId = "XYNSGeyUwBYdCjwNycVo";
var gClientSecret = "Zostmw4W4IgBi6a6yqVHEaP2svgnYjx0QaCobbXn";
var gMe = null;
var gPerPage = 50;

var loggingEnabled = false;
var networkLoggingEnabled = false;

function isLoggedIn(token) {
    return gDefaultToken != token;
}

//function netLog(url, text) {
//    if (networkLoggingEnabled) {
//        console.log("REQUEST: " + url);
//        console.log("RESPONSE: " + text);
//    }
//}

function log(text) {
    if (loggingEnabled) {
        console.log("GLOG: " + url);
    }
}


var g = {
    'perPage': 50,
    'defaultToken': "pf1UNqZNXhForn9TwiRz",
    'clientSecret': "Zostmw4W4IgBi6a6yqVHEaP2svgnYjx0QaCobbXn",
    'clientId': "XYNSGeyUwBYdCjwNycVo",
    'me': null

    };

